/********************************************************************
	filename: 	lyricsetting.cpp
	author:		zouyf
	created:	2009-10-24  12:11:43
	describe:

*********************************************************************/
#include "stdafx.h"
#include "lyricsetting.h"

void FLyricSetting::SetLyricDir(LPCWSTR path)
{
	m_lyricPath = path;
}

LPCWSTR FLyricSetting::GetLyricDir()
{
	return m_lyricPath.c_str();
}

void FLyricSetting::SetLyricFontSize(UINT nSize)
{
	m_fontSize = nSize;
}

UINT FLyricSetting::GetLyricFontSize()
{
	return m_fontSize;
}

void FLyricSetting::SetLyricFont(LPCWSTR fontName)
{
	m_fontName = fontName;
}

LPCWSTR FLyricSetting::GetLyricFont()
{
	return m_fontName.c_str();
}

void FLyricSetting::SetLyricColor(int alpha, int r, int g, int b)
{
	m_lyricColor.SetValue(Gdiplus::Color::MakeARGB(alpha, r, g, b));
}

void FLyricSetting::GetLyricColor(int *pAlpha, int *pR, int *pG, int *pB)
{
	*pAlpha = m_lyricColor.GetA();
	*pR = m_lyricColor.GetR();
	*pG = m_lyricColor.GetG();
	*pB = m_lyricColor.GetB();
}
